package com.tony.fileserver.service.impl;

import com.tony.fileserver.service.FileServerService;
import com.tony.fileserver.transferobject.FileDTO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 较大文件的业务逻辑层实现
 */
@Service("bigFileService")
public class BigFileServerServiceImpl implements FileServerService {
    @Override
    public FileDTO saveFile(FileDTO file) {
        return null;
    }

    @Override
    public List<FileDTO> saveFiles(List<FileDTO> files) {
        return null;
    }

    @Override
    public void removeFile(String id) {

    }

    @Override
    public FileDTO getFileById(String id) {
        return null;
    }

    @Override
    public long countFiles() {
        return 0;
    }

    @Override
    public List<FileDTO> listFiles(int pageIndex, int pageSize) {
        return null;
    }

    @Override
    public List<FileDTO> listFiles(int pageIndex, int pageSize, boolean desc) {
        return null;
    }
}
